<ion-header>
    <ion-toolbar content-page class="fir-toolbar">
        <ion-buttons start>
            <button ion-button icon-only (click)="backHandle($event)">
                <i class="toolbar-back"></i>
            </button>
        </ion-buttons>
        <ion-title>
            直播
        </ion-title>
        <ion-buttons end>
            <button class="cast-share-button" ion-button icon-only adpmenutoggle>
                分享
            </button>
            <button class="cast-share-button" ion-button icon-only adpmenutoggle
                    [ngClass]="{'favorited':isFavorited}">
                {{isFavorited ? '已收藏':'收藏'}}
            </button>
        </ion-buttons>
    </ion-toolbar>
</ion-header>


<ion-content>
    <div class="webcast-container" id="video">
    </div>
    <input [(ngModel)]="commentText" id="mywords" style="width:100%;height:20vw;" type="text" (keyup)="comment($event)">
    <div id="doc" style="width:100%;height:30vw;"></div>
</ion-content>
